package com.bestarnold.www.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * Department 部门信息
 *
 * @author Arnold 409196007@qq.com
 * @version V2.0
 * @date 2022/05/27 19:22
 **/
@Getter
@Setter
@Accessors(chain = true)
@ToString
public class Department {
    /**
     * 主键
     */
    private Long id;

    /**
     * 部门名称
     */
    private String name;

    /**
     * 部门编号
     */
    private Integer code;

    /**
     * 上级部门关联key
     */
    private Long parentId;

}